projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d7719
)
perfc: Fix x86_64 build with perfc_arrays=y
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 22 Jun 2010 06:19:38 +0000
(07:19 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 22 Jun 2010 06:19:38 +0000
(07:19 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/include/asm-x86/x86_64/asm_defns.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/x86_64/asm_defns.h
b/xen/include/asm-x86/x86_64/asm_defns.h
index df1343f6073821922c43b398932edb250e1afc4d..7a8cfdbb6ade153d25a7d210ebc8787a1419b7c5 100644
(file)
--- a/
xen/include/asm-x86/x86_64/asm_defns.h
+++ b/
xen/include/asm-x86/x86_64/asm_defns.h
@@
-67,8
+67,9
@@
pushq _cur; \
movslq VCPU_processor(_cur),_cur; \
pushq %rdx; \
+ leaq __per_cpu_offset(%rip),%rdx; \
+ movq (%rdx,_cur,8),_cur; \
leaq per_cpu__perfcounters(%rip),%rdx; \
- movq __per_cpu_offset(,_cur,8),_cur; \
addq %rdx,_cur; \
popq %rdx; \
incl _name*4(_cur,_idx,4); \